package com.ysd.lis.service.bak;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.ysd.common.Result;
import com.ysd.lis.entity.bak.LabReqMainBak;
import com.ysd.lis.entity.lab.LabMaininfo;
import com.ysd.lis.request.AddLabMaininfo;
import com.ysd.lis.request.LabMaininfoPageDto;
import com.ysd.lis.request.PrintBarcodeDto;
import com.ysd.lis.request.lab.LabMaininfoCreateOrUpdateDto;
import com.ysd.lis.request.lab.LabReqMainDto;

/**
 * <p>
 * 检验申请主表 服务类
 * </p>
 *
 * @author WH
 * @since 2024-11-26
 */
public interface LabReqMainBakService extends IService<LabReqMainBak> {
    Result findHisStoryLabReqMainPageList(LabMaininfoPageDto maininfoPageDto);

    Result insertMaininfoByReqNo(AddLabMaininfo labReqMain) throws JsonProcessingException;

    Result insertMaininfo(LabMaininfo labMaininfo) throws JsonProcessingException;

    Result updateMaininfo(LabMaininfoCreateOrUpdateDto input) throws JsonProcessingException;

    Result findLabReqMainOrMainfoList(LabReqMainDto labReqMain);
    Result exportOrMainInfoExcel(LabReqMainDto labReqMain);
    Result exportReqExcel(LabReqMainDto labReqMain);

    Result barcodePrintQueryOrMaininfo(PrintBarcodeDto dto);

    Result findLabReqMainReHistory(LabMaininfoPageDto maininfoPageDto);
    Result findLabReqMainReHistoryPage(LabMaininfoPageDto maininfoPageDto);
}
